<?php

declare(strict_types=1);
/**
 * This file is part of habo_new_media.
 *
 * @link     https://www.berlen.cn/
 * @contact  tech@berlen.cn
 * @license  http://gitlab.rehou.cn/habo/habo_new_media/-/blob/master/README.md
 */
namespace app\service\stat\daily;

use app\service\stat\StatService;
use think\Model;

abstract class DailyService extends StatService
{
    /**
     * 获取消耗.
     * @param Model $model 报表模型
     * @return mixed
     */
    public function getCost(Model $model)
    {
        return $model->getCost();
    }

    /**
     * 获取赠款消耗.
     * @param Model $model 报表模型
     * @return mixed
     */
    public function getRewardCost(Model $model)
    {
        return $model->getRewardCost();
    }

    /**
     * 获取现金消耗.
     * @param Model $model 报表模型
     * @return mixed
     */
    public function getCashCost(Model $model)
    {
        return $model->getCashCost();
    }

    /**
     * 获取余额.
     * @param Model $model 报表模型
     * @return mixed
     */
    public function getBalance(Model $model)
    {
        return $model->getBalance();
    }

    /**
     * 获取账户.
     * @param string $advertiserId 账户id
     */
    public function getAccount(string $advertiserId = '')
    {
    }

    /**
     * 获取端口.
     * @param string $advertiserId 账户id
     */
    public function getPort(string $advertiserId = '')
    {
    }
}
